package com.zjh.admin.service;

import com.zjh.admin.entity.DAO.SysUserEntity;
import com.zjh.admin.entity.VO.ResetPasswordVO;
import com.zjh.admin.entity.VO.SysUserVO;

import java.util.List;

public interface UserService {

    List<SysUserEntity> getAllUsers();

    SysUserEntity getUserById(Long id);

    void deleteUserById(int id);

    void updateUser(SysUserEntity user);

    Boolean resetPasswordValid(ResetPasswordVO resetPasswordVO);

    void resetPassword(ResetPasswordVO resetPasswordVO);

    void addUser(SysUserVO usr);

    SysUserEntity getUserByUsername(String username);
}
